﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DelegateDemo
{
    public partial class FrmTwo : Form
    {
        public FrmTwo()
        {
            InitializeComponent();
        }



        private void uiButton1_Click(object sender, EventArgs e)
        {
            CommonMethod.Method?.Invoke(uiTextBox1.Text);
        }
    }
}
